package com.cjg.juc;

public class demo01 {
    public static void main(String[] args) {
        new Thread().start();
//        Thread.State
        //获取cpu的核数
        //cpu 密集型 和io密集型
        System.out.println(Runtime.getRuntime().availableProcessors());
    }
}
